package com.gjs.reviewtree.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gjs.reviewtree.bean.Review;
import com.gjs.reviewtree.controller.vo.AddReviewReqVO;

import java.util.List;

public interface ReviewService {

    IPage<Review> list(Long parentId, Integer pageNum, Integer pageSize);

    Review add(AddReviewReqVO reqVO);

    boolean remove(Long id);
}
